package com.base.app_core.base;

import com.base.app_core.model.PoiList;
import com.base.app_core.model.RedPacketVo;
import com.base.app_core.service.user.model.Address;
import com.base.app_core.service.user.model.BindAliUserAcount;

import java.util.List;

/**
 * Created by jiansheng.li on 2018/2/1.
 */

public interface ActionPacketView {

    interface LoginView extends BaseView {

    }

    interface UserView extends BaseView {
        void doUpdateInfoSuccess();

        void onLoginSuccess();

        void doSaveAddress();

        void doDelAddress(Address address);

        void doSetDefaultAdddress(Address address);
    }

    interface GiveRedPacketView extends BaseView {
        void onGiveSuccess(RedPacketVo data);
    }

    interface onPoiResult extends BaseView {
        void onPoiSuccess(List<PoiList> poiList);
    }

    interface SmsAction {
        void updateSmsCode(int ntick);

        void bindMobileSuccess(BindAliUserAcount data);
    }

    interface RedPacketAction {
        void updateCloseView(int tick);
    }

    interface IndexAction {
        void onTimeCount(int tick);
    }

    interface PacketTimeAction {
        void onTimeCount(long count);

        void onParseError();
    }

    interface RedPacketView {
        void doingOpen();

        void doOpenSuccess();
    }

    interface TaskView {
        void doSubmitTaskSuccess();
    }

    interface DepositView {
        void doDepositSuccess(String data);
    }

    interface onPostComment {
        void onCommentSuccess();
    }

    interface payView {
        void AliPayRequest(String data);
    }

    interface callBackView {
        void doHandleSuccess();
    }

    interface BindAliAccount {
        void getDefaultAliAcountFailure();
    }

    interface GuideViewPagerChange {
        void onPageSelected(int position);
    }


}
